xen/arm: Define mfn_to_page/page_to_mfn in term of __mfn_to_page/__page_to_mfn
authorJulien Grall <julien.grall@arm.com>
Tue, 13 Jun 2017 16:13:08 +0000 (17:13 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 15 Jun 2017 23:53:41 +0000 (16:53 -0700)
commit948066d0526cebe1ecd0c21863a9cfc1be0290a4
tree0f9c4d5f5db59980d934a9b1499197e5431f5155
parentc702d8a05a28fe892c233a5c63ec2b0c7f394302
xen/arm: Define mfn_to_page/page_to_mfn in term of __mfn_to_page/__page_to_mfn

This is matching the x86 side where the __* version is used if you need
to override the helpers in source files.

At the same time, move the non-underscore version at the end of the
defintion and add a comment to explain them.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/mm.h